import os
import cv2

qtpath = "/root/miniconda3/envs/common/lib/python3.8/site-packages/cv2/qt/plugins/platforms"
os.environ["QT_QPA_PLATFORM_PLUGIN_PATH"] = qtpath

if __name__ == "__main__":
    rgb_img = cv2.imread("../sample/RGB_origin.png")
    cv2.imshow("rgb_img", rgb_img)
    # cv2.imwrite("../sample/RGB_origin.png", bmp_img)



